package com.chase.passwordmaster.mine

import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.chase.passwordmaster.R
import com.chase.passwordmaster.utils.useDarkStatusBar
import com.chase.passwordmaster.utils.useImmersingNavigator

class HelpActivity : AppCompatActivity() {
    companion object {
        fun actionStart(context: Context) {
            val intent = Intent(context, HelpActivity::class.java)
            context.startActivity(intent)
        }
    }

    private lateinit var cpBack: View

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_help)

        useDarkStatusBar()
        useImmersingNavigator()

        cpBack = findViewById(R.id.back_help)

        cpBack.setOnClickListener { onBackPressed() }
    }
}